From cbdb2ee1547fcfbef8c874da60b17eee80b5fa18 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 12 Oct 2025 22:49:13 +0200 Subject: Get rid of trajectory and portfolio --- src/pages/portfolio/[id].astro | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/pages/portfolio/[id].astro (limited to 'src/pages/portfolio/[id].astro') diff --git a/src/pages/portfolio/[id].astro b/src/pages/portfolio/[id].astro deleted file mode 100644 index 7424b91..0000000 --- a/src/pages/portfolio/[id].astro +++ /dev/null @@ -1,17 +0,0 @@ ---- -import type { GetStaticPaths } from "astro"; -import { getCollection } from "astro:content"; -import PortfolioSingleLayout from "@/layouts/PortfolioSingleLayout.astro"; - -export const getStaticPaths: GetStaticPaths = async () => { - const entries = await getCollection("portfolio"); - return entries.map((entry: any) => ({ - params: { id: entry.id }, - props: { entry }, - })); -}; - -const { entry } = Astro.props; ---- - - -- cgit v1.3